home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2000 / MacHack 2000.toast / pc / The Hacks / Genie / Projects / AEA / Source / Includes / AEAModelRoot.hh < prev    next >
Encoding:
Text File  |  2000-06-24  |  1023 b   |  38 lines

  1. /*    ===============
  2.  *    AEAModelRoot.hh
  3.  *    ===============
  4.  */
  5.  
  6. #pragma once
  7.  
  8. #include "AEAModel.hh"
  9.  
  10. class AEATokenModel;
  11. //class AEADescAppleEvent;
  12.  
  13. class AEAModelRoot : public AEAModel {
  14. public:
  15.     AEAModelRoot() {}
  16.     virtual ~AEAModelRoot() {}
  17.     
  18.     virtual void KissGoodbye() {}
  19.     
  20.     virtual void MakeToken(AEATokenModel *&outToken);
  21.     
  22.     virtual DescType Type() const {return typeNull;}
  23.     virtual DescType Class() const = 0;
  24.     
  25.     // The container proxy is an object that handles selecting contained objects.
  26.     // It can be the same object or it can refer to another.
  27.     //virtual AEAModelContainer &ContainerProxy() const /*= 0*/;
  28.     //virtual CAEOMObject &Container() const /*= 0*/;
  29.     virtual void GetContainerObjSpec(AEDesc &outAEDesc) const;
  30.     
  31.     virtual DescType PreferredKeyForm() const {return typeNull;}
  32.     virtual void GetKeyData(DescType inKeyForm, AEDesc &outAEDesc) const;
  33.     virtual void MakeObjSpecifier(AEDesc &outAEDesc) const;
  34.     virtual void MakeDescriptor(AEDesc &outAEDesc) const {MakeObjSpecifier(outAEDesc);}
  35.     
  36. protected:
  37. };
  38.